#!/usr/bin/env python
#-*- coding:gbk -*-

import os, sys

args = sys.argv[1:]

cmd = 'diff.exe' + ' '.join(map(lambda arg: '"' + arg + '"', args))

ret = os.popen(cmd)
sys.stdout.write(ret.read())
code = ret.close()
if code:
    sys.exit(code)
